package com.foreveross.law.contract.domain;


/**
* <p>com.csair.ifmps.system.database.resources.Contract</p>
*
* @author changwu.liao email:changwu.liao(a)gmail.com
* @version 1.0
* @since 1.0
* @Modified by add modified description
* @purpose add this file description here
*/
public class Contract implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;
	
	//alias	
	public static final String TABLE_SQL_NAME = "CONTRACT";
	
	public static final String ALIAS_CONTRACT_ID = "contractId";
	public static final String ALIAS_CONTRACT_NAME = "contractName";
	public static final String ALIAS_PROJECT_ID = "projectId";
	public static final String ALIAS_SELF_MAIN_BODY_ID = "selfMainBodyId";
	public static final String ALIAS_OTHER_MAIN_BODY_ID = "otherMainBodyId";
	public static final String ALIAS_COST_TYPE_ID = "costTypeId";
	public static final String ALIAS_PAYMENT_TYPE = "paymentType";
	public static final String ALIAS_EXCHANGE_ID = "exchangeId";
	public static final String ALIAS_CONTRACT_MONEY = "contractMoney";
	public static final String ALIAS_IS_MAKE_UP = "isMakeUp";
	public static final String ALIAS_OLD_CONTRACT_ID = "oldContractId";
	public static final String ALIAS_STATUS = "status";
	public static final String ALIAS_EXPIRY_DATE_START = "expiryDateStart";
	public static final String ALIAS_EXPIRY_DATE_END = "expiryDateEnd";
	public static final String ALIAS_REQUISITIONER_ID = "requisitionerId";
	public static final String ALIAS_SIGN_CONTEXT = "signContext";
	public static final String ALIAS_CANCEL_REASON_TYPE = "cancelReasonType";
	public static final String ALIAS_CANCEL_EXPLAIN = "cancelExplain";
	public static final String ALIAS_CREATE_DATE = "createDate";
	public static final String ALIAS_CREATE_BY = "createBy";
	
	//the column is a primary key	
	public static final String PROP_KEY = "contractId";
	
	//fields START
	public static String PROP_REF="Contract";
	public static String PROP_REF_CONTRACT_ID = "contractId";
	public static String PROP_REF_CONTRACT_NAME = "contractName";
	public static String PROP_REF_PROJECT_ID = "projectId";
	public static String PROP_REF_SELF_MAIN_BODY_ID = "selfMainBodyId";
	public static String PROP_REF_OTHER_MAIN_BODY_ID = "otherMainBodyId";
	public static String PROP_REF_COST_TYPE_ID = "costTypeId";
	public static String PROP_REF_PAYMENT_TYPE = "paymentType";
	public static String PROP_REF_EXCHANGE_ID = "exchangeId";
	public static String PROP_REF_CONTRACT_MONEY = "contractMoney";
	public static String PROP_REF_IS_MAKE_UP = "isMakeUp";
	public static String PROP_REF_OLD_CONTRACT_ID = "oldContractId";
	public static String PROP_REF_STATUS = "status";
	public static String PROP_REF_EXPIRY_DATE_START_BEGIN = "expiryDateStartBegin";
	public static String PROP_REF_EXPIRY_DATE_START_END = "expiryDateStartEnd";
	public static String PROP_REF_EXPIRY_DATE_END_BEGIN = "expiryDateEndBegin";
	public static String PROP_REF_EXPIRY_DATE_END_END = "expiryDateEndEnd";
	public static String PROP_REF_REQUISITIONER_ID = "requisitionerId";
	public static String PROP_REF_SIGN_CONTEXT = "signContext";
	public static String PROP_REF_CANCEL_REASON_TYPE = "cancelReasonType";
	public static String PROP_REF_CANCEL_EXPLAIN = "cancelExplain";
	public static String PROP_REF_CREATE_DATE_BEGIN = "createDateBegin";
	public static String PROP_REF_CREATE_DATE_END = "createDateEnd";
	public static String PROP_REF_CREATE_BY = "createBy";
	//fields END
	
	//columns sql name START	
	public static String PROP_COLUMN_CONTRACT_ID = "CONTRACT_ID";
	public static String PROP_COLUMN_CONTRACT_NAME = "CONTRACT_NAME";
	public static String PROP_COLUMN_PROJECT_ID = "PROJECT_ID";
	public static String PROP_COLUMN_SELF_MAIN_BODY_ID = "SELF_MAIN_BODY_ID";
	public static String PROP_COLUMN_OTHER_MAIN_BODY_ID = "OTHER_MAIN_BODY_ID";
	public static String PROP_COLUMN_COST_TYPE_ID = "COST_TYPE_ID";
	public static String PROP_COLUMN_PAYMENT_TYPE = "PAYMENT_TYPE";
	public static String PROP_COLUMN_EXCHANGE_ID = "EXCHANGE_ID";
	public static String PROP_COLUMN_CONTRACT_MONEY = "CONTRACT_MONEY";
	public static String PROP_COLUMN_IS_MAKE_UP = "IS_MAKE_UP";
	public static String PROP_COLUMN_OLD_CONTRACT_ID = "OLD_CONTRACT_ID";
	public static String PROP_COLUMN_STATUS = "STATUS";
	public static String PROP_COLUMN_EXPIRY_DATE_START = "EXPIRY_DATE_START";
	public static String PROP_COLUMN_EXPIRY_DATE_END = "EXPIRY_DATE_END";
	public static String PROP_COLUMN_REQUISITIONER_ID = "REQUISITIONER_ID";
	public static String PROP_COLUMN_SIGN_CONTEXT = "SIGN_CONTEXT";
	public static String PROP_COLUMN_CANCEL_REASON_TYPE = "CANCEL_REASON_TYPE";
	public static String PROP_COLUMN_CANCEL_EXPLAIN = "CANCEL_EXPLAIN";
	public static String PROP_COLUMN_CREATE_DATE = "CREATE_DATE";
	public static String PROP_COLUMN_CREATE_BY = "CREATE_BY";
	//columns sql name END
		
	private java.lang.String contractId;
	private java.lang.String contractName;
	private java.lang.Integer projectId;
	private java.lang.String selfMainBodyId;
	private java.lang.String otherMainBodyId;
	private java.lang.String costTypeId;
	private java.lang.String paymentType;
	private java.lang.String exchangeId;
	private java.lang.Double contractMoney;
	private java.lang.Boolean isMakeUp;
	private java.lang.String oldContractId;
	private java.lang.Integer status;
	private java.util.Date expiryDateStart;
	private java.util.Date expiryDateEnd;
	private java.lang.String requisitionerId;
	private java.lang.String signContext;
	private java.lang.String cancelReasonType;
	private java.lang.String cancelExplain;
	private java.util.Date createDate;
	private java.lang.String createBy;
	//columns END

	public Contract(){
	}

	public Contract(
		java.lang.String contractId
	){
		this.contractId = contractId;
	}

	public void setContractId(java.lang.String value) {
		this.contractId = value;
	}
	
	public java.lang.String getContractId() {
		return this.contractId;
	}
	public void setContractName(java.lang.String value) {
		this.contractName = value;
	}
	
	public java.lang.String getContractName() {
		return this.contractName;
	}
	public void setProjectId(java.lang.Integer value) {
		this.projectId = value;
	}
	
	public java.lang.Integer getProjectId() {
		return this.projectId;
	}
	public void setSelfMainBodyId(java.lang.String value) {
		this.selfMainBodyId = value;
	}
	
	public java.lang.String getSelfMainBodyId() {
		return this.selfMainBodyId;
	}
	public void setOtherMainBodyId(java.lang.String value) {
		this.otherMainBodyId = value;
	}
	
	public java.lang.String getOtherMainBodyId() {
		return this.otherMainBodyId;
	}
	public void setCostTypeId(java.lang.String value) {
		this.costTypeId = value;
	}
	
	public java.lang.String getCostTypeId() {
		return this.costTypeId;
	}
	public void setPaymentType(java.lang.String value) {
		this.paymentType = value;
	}
	
	public java.lang.String getPaymentType() {
		return this.paymentType;
	}
	public void setExchangeId(java.lang.String value) {
		this.exchangeId = value;
	}
	
	public java.lang.String getExchangeId() {
		return this.exchangeId;
	}
	public void setContractMoney(java.lang.Double value) {
		this.contractMoney = value;
	}
	
	public java.lang.Double getContractMoney() {
		return this.contractMoney;
	}
	public void setIsMakeUp(java.lang.Boolean value) {
		this.isMakeUp = value;
	}
	
	public java.lang.Boolean getIsMakeUp() {
		return this.isMakeUp;
	}
	public void setOldContractId(java.lang.String value) {
		this.oldContractId = value;
	}
	
	public java.lang.String getOldContractId() {
		return this.oldContractId;
	}
	public void setStatus(java.lang.Integer value) {
		this.status = value;
	}
	
	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setExpiryDateStart(java.util.Date value) {
		this.expiryDateStart = value;
	}
	
	public java.util.Date getExpiryDateStart() {
		return this.expiryDateStart;
	}
	
	public void setExpiryDateEnd(java.util.Date value) {
		this.expiryDateEnd = value;
	}
	
	public java.util.Date getExpiryDateEnd() {
		return this.expiryDateEnd;
	}
	public void setRequisitionerId(java.lang.String value) {
		this.requisitionerId = value;
	}
	
	public java.lang.String getRequisitionerId() {
		return this.requisitionerId;
	}
	public void setSignContext(java.lang.String value) {
		this.signContext = value;
	}
	
	public java.lang.String getSignContext() {
		return this.signContext;
	}
	public void setCancelReasonType(java.lang.String value) {
		this.cancelReasonType = value;
	}
	
	public java.lang.String getCancelReasonType() {
		return this.cancelReasonType;
	}
	public void setCancelExplain(java.lang.String value) {
		this.cancelExplain = value;
	}
	
	public java.lang.String getCancelExplain() {
		return this.cancelExplain;
	}
	
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}
	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	public void setCreateBy(java.lang.String value) {
		this.createBy = value;
	}
	
	public java.lang.String getCreateBy() {
		return this.createBy;
	}
}

